<script setup lang="ts">
import PageContent from '@/components/page-content';

import { contentTableConfig } from './config/content.config';
</script>

<template>
  <div class="user">
    <page-content :contentTableConfig="contentTableConfig" pageName="goods">
      <template #imgUrl="scope">
        <el-image style="width: 60px; height: 60px" :src="scope.row.imgUrl" fit="cover"></el-image>
      </template>
      <template #oldPrice="scope">{{ `￥${scope.row.oldPrice}` }}</template>
    </page-content>
  </div>
</template>
<style lang="less" scoped>
.content {
  border-top: 20px solid #f5f5f5;
}
.content {
  border-top: 20px solid #f5f5f5;
}
</style>
